<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<%@page import="de.schoel.radnetserver.HelperFunctions"%>
<%@page import="de.schoel.radcrawler.FetchDataServlet"%><html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>RTF Administration</title>
</head>
<body>
    <h1>Administrationsfunktionen</h1>
	<%
		int pageToRead = HelperFunctions.getNextPage();
	%>
    <table>
      <tr>
        <td colspan="2" style="font-weight:bold;">Available Calls:</td>        
      </tr>
      <tr>
        <td><a href="../radnetserver?laMin=49.0725625&laMax=54.1725625&loMin=8.4264175&loMax=14.4264175"/>Testabfrage</td>
      </tr>
      <tr>
        <td><a href="../fetchdata?<%=FetchDataServlet.MAX_PAGE_NR%>=next"/>Seite (<%=pageToRead%>) laden</td>
      </tr>
      <tr>
        <td><a href="../fetchdata?<%=FetchDataServlet.CLEAR_CACHE%>=true"/>Cache leeren</td>
      </tr>
      <tr>
        <td><a href="../fetchdata?<%=FetchDataServlet.DELETE_ALL%>=true"/>Alle Daten löschen</td>
      </tr>
      <tr>
        <td><a href="./displaymap.jsp"/>Karte darstellen</td>
      </tr>
    </table>

</body>
</html>